package com.jojo.bubble.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 订单表(Order)实体类
 *
 * @author makejava
 * @since 2023-08-08 13:43:20
 */
@Data
public class Order extends DevFill {
    private static final long serialVersionUID = -87719344974273899L;

    private Integer id;

    private String orderNo;

    private Integer devId;

    private String devCode;

    private Integer shopId;
    /**
     * 代理商id
     */
    private Integer agentId;

    private Integer userId;

    private String username;
    /**
     * 订单价格
     */
    private BigDecimal money;

    private BigDecimal firstMoney;

    private BigDecimal secondMoney;

    /**
     * 订单重量
     */
    private Integer time;

    private Integer status;

    private Integer type;

    private String remark;
    /**
     * 添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Integer deleted;


}

